package com.labofjet.aspect;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;

//@Aspect
//@Component
public class TestAspect {
    //@Around(value = "execution(* com.labofjet.web.ContextDTO.*(..))")
    public Object testAround(ProceedingJoinPoint pjp) throws Throwable {
        System.out.println("456");
        Object obj = pjp.proceed();
        return obj;
    }

    //@Around(value = "execution(* com.labofjet.controller.TestController.around(..))")
    public Object testControllerAround(ProceedingJoinPoint pjp) throws Throwable {
        System.out.println("hahaha");
        Object obj = pjp.proceed();
        return obj;
    }
}
